Skip to content

chore: add pr branch validation working for main branch#168

Closed
vicheey wants to merge 3 commits into
developfrom
chore-add-main-branch-pr-validation
Closed

chore: add pr branch validation working for main branch#168
vicheey wants to merge 3 commits into
developfrom
chore-add-main-branch-pr-validation

Conversation

@vicheey

@vicheey vicheey commented Feb 12, 2026

Copy link
Copy Markdown
Contributor

Description of changes:

Add branch validation for PR merging into main. Only PR from develop branch allowed.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Comment thread .github/workflows/validate-branch-into-main.yaml Fixed
@reedham-aws

Copy link
Copy Markdown

I get why we would add this, but is this something we should be doing in all of our repos? It seems like a marginal improvement at best so I feel like it's not necessary, but I might not understand the RIE use case as well.

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
@vicheey

vicheey commented Feb 12, 2026

Copy link
Copy Markdown
Contributor Author

I get why we would add this, but is this something we should be doing in all of our repos? It seems like a marginal improvement at best so I feel like it's not necessary, but I might not understand the RIE use case as well.

I feel the need to add this because there were incident that commits that were ported indirectly into main for release, skipping development branch.

@reedham-aws

Copy link
Copy Markdown

We discussed a little offline, I think we might move to merging directly to main rather than through develop in those instances.

@vicheey vicheey closed this Mar 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants